include_directories (
        "${RSIM_SOURCE_DIR}/src/math/integrators/include"
        "${RSIM_SOURCE_DIR}/src/math/matrix/include"
        "${RSIM_SOURCE_DIR}/src/math/linalg/include"
        "${RSIM_SOURCE_DIR}/src/physics/include"
        "${RSIM_SOURCE_DIR}/src/utils/include"
        "${RSIM_SOURCE_DIR}/src/graphics/include"
) 

# Create an executable named "prog"
add_executable(prog main.cpp)
add_executable(graph test.cc)


# LIBDIR is defined in the main CMakeLists.txt 
# Specify the dependencies of prog.
target_link_libraries(prog 	 
        ${LIBDIR}/lib_rsim.a
)
target_link_libraries(graph 	 
        ${LIBDIR}/lib_rsim.a
        ${OPENGL_LIBRARIES} 
        ${GLUT_LIBRARY}
)
